import his_01 from "@/assets/his_01.png"
import his_02 from "@/assets/his_02.png"
import his_03 from "@/assets/his_03.png"
import his_04 from "@/assets/his_04.png"
import his_05 from "@/assets/his_05.png"
import his_06 from "@/assets/his_06.png"
import his_07 from "@/assets/his_07.png"
import his_08 from "@/assets/his_08.png"
import his_09 from "@/assets/his_09.png"
import his_10 from "@/assets/his_10.png"
import his_11 from "@/assets/his_11.png"
import his_12 from "@/assets/his_12.png"
import his_13 from "@/assets/his_13.png"
import his_14 from "@/assets/his_14.png"
import his_15 from "@/assets/his_15.png"
import his_16 from "@/assets/his_16.png"
import his_17 from "@/assets/his_17.png"
import his_18 from "@/assets/his_18.png"
import his_19 from "@/assets/his_19.png"
import his_21 from "@/assets/his_21.png"
import his_22 from "@/assets/his_22.png"
import his_23 from "@/assets/his_23.png"
import his_24 from "@/assets/his_24.png"
import his_25 from "@/assets/his_25.png"
import ROLE_MAPS from "@/utils/role_maps"
class Navigation {
    constructor() {
        let key = ROLE_MAPS.ROLE_MAPS;

        this.nav = [{
                id: 1,
                icon: his_01,
                text: "门诊医生工作站",
                url: "/bai/DoctorWorkStation",
                ROLE_MAPS: key.mz_yiSheng_GongZuoZhan.list,
            },
            {
                id: 2,
                icon: his_02,
                text: "门诊护士工作站",
                url: "/bai/InfusionRoom",
                ROLE_MAPS: key.mz_huShi_GongZuoZhan.list,
            },
            {
                id: 3,
                icon: his_03,
                text: "住院医生工作站",
                url: "/workstation/hospital",
                ROLE_MAPS: key.zy_yiSheng_GongZuoZhan.list,
            },
            {
                id: 4,
                icon: his_04,
                text: "住院护士工作站",
                url: "/workstation/hospitalNurse",
                ROLE_MAPS: key.zy_huShi_GongZuoZhan.list,
            },
            {
                id: 19,
                icon: his_05,
                text: "医技工作站",
                url: "/workstation/medical",
                ROLE_MAPS: key.yj_GongZuoZhan.list,
            },
            {
                id: 5,
                icon: his_06,
                text: "药库管理",
                url: "/storage/drugStorage",
                ROLE_MAPS: key.yk_GuanLi.list,
            }, {
                id: 6,
                icon: his_07,
                text: "门诊药房",
                url: "/admin/pharmacy_MZ",
                ROLE_MAPS: key.mz_YangFang.list,
            },
            {
                id: 32,
                icon: his_07,
                text: "住院药房",
                url: "/admin/pharmacy_ZY",
                ROLE_MAPS: key.zy_YangFang.list,
            },
            {
                id: 7,
                icon: his_08,
                text: "门诊收费",
                url: "/workstation/RegistrationFee",
                ROLE_MAPS: key.mz_ShouFei.list,
            },
            {
                id: 8,
                icon: his_09,
                text: "住院处管理",
                url: "/workstation/hospitalizedCharge",
                ROLE_MAPS: key.zy_GuanLiChu.list,
            },
            {
                id: 10,
                icon: his_11,
                text: "库存物资管理",
                url: "/admin/inventory",
                ROLE_MAPS: key.kc_WuZiGuanLi.list,
            }, {
                id: 11,
                icon: his_12,
                text: "固定资产管理",
                url: "/admin/fixedAssets",
                ROLE_MAPS: key.gd_ZiChanGuanLi.list,

            },
            {
                id: 21,
                icon: his_19,
                text: "病历模板",
                url: "/admin/caseList",
                ROLE_MAPS: key.bl_MoBan.list,
            },
            {
                id: 12,
                icon: his_13,
                text: "病案管理",
                url: "/admin/caseInfo",
                ROLE_MAPS: key.bl_GuanLi.list,
            }, {
                id: 13,
                icon: his_14,
                text: "回访管理",
                url: "/admin/review",
                ROLE_MAPS: key.hf_GuanLi.list,
            }, {
                id: 14,
                icon: his_15,
                text: "院长巡查",
                url: "/system/deanPatrol",
                ROLE_MAPS: key.yz_XunCha.list,
            },
            {
                id: 20,
                icon: his_15,
                text: "患者档案",
                url: "/user/patient",
                ROLE_MAPS: key.hz_DangAn.list,
            },
            {
                id: 15,
                icon: his_16,
                text: "人事管理",
                url: "/system/organization",
                ROLE_MAPS: key.rs_GuanLi.list,
            }, {
                id: 16,
                icon: his_17,
                text: "角色权限",
                url: "/user/control",
                ROLE_MAPS: key.js_QuanXian.list,
            }, {
                id: 17,
                icon: his_18,
                text: "数据字典",
                url: "/system/dataDictionaries",
                ROLE_MAPS: key.sj_ZiDian.list,
            }, {
                id: 18,
                icon: his_19,
                text: "操作日志",
                url: "/system/operationLog",
                ROLE_MAPS: key.cz_RiZhi.list,
            },
            {
                id: 35,
                icon: his_22,
                text: "残联救助",
                url: "/admin/Federation",
                ROLE_MAPS: key.cl_JiuZhi.list,
            },
            {
                id: 31,
                icon: his_23,
                text: "医保办",
                url: "/workstation/yibao",
                ROLE_MAPS: key.ybb.list,
            },
            {
                id: 22,
                icon: his_24,
                text: "卫材物资管理",
                url: "/workstation/weicai",
                ROLE_MAPS: key.ybb.list,
            },
            {
                id: 22,
                icon: his_25,
                text: "报表统计",
                url: "/workstation/baobiao",
                ROLE_MAPS: key.ybb.list,
            },
            // {
            //     id: 22,
            //     icon: require('@/assets/wc.png'),
            //     text: "卫材物资管理",
            //     url: "/eisai/eisaiStorage"
            // },


        ]
    }
    getNav() {
        // console.log("ROLE_MAPS666",ROLE_MAPS)
        return this.nav
    }
}


export default Navigation